import inherits from 'inherits';
import Modeler from 'bpmn-js/lib/Modeler';
import { customModeler } from './custom';

function CustomModeler(options) {
  Modeler.call(this, options);

  this._customElements = [];
}

inherits(CustomModeler, Modeler);

CustomModeler.prototype._modules = [].concat(Modeler.prototype._modules, [customModeler]);

export { CustomModeler };
